package com.mall.service.authority.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.commons.common.CommonPage;
import com.mall.commons.common.CommonResult;
import com.mall.model.domain.UmsMenu;
import com.mall.model.domain.UmsResourceCategory;
import com.mall.model.vo.UmsMenuVo;

import java.util.List;

public interface UmsMenuService extends IService<UmsMenu> {
    CommonPage listByPage(Integer pageNum, Integer pageSize, Long parentId);


    List<UmsMenuVo> treeList();

    List<UmsMenu> getAll();


    CommonResult updateHidden(Integer id, Integer hidden);

    CommonResult getById(Integer id);

    void updateOne(Long id, UmsMenu umsMenu);
}
